package com.xinyiweidai.xinyiweidai.bean;

public class LoginBean {

    /**
     * code : 1
     * msg : 登录成功
     * time : 1535612480
     * data : {"userinfo":{"id":"16","username":"15267846314","nickname":"15267846314","mobile":"15267846314","avatar":"/assets/img/qrcode.png","score":"0","token":"e0b5a6a4-d66a-4039-996c-18cfcf2c097b","user_id":"16","createtime":"1535612480","expiretime":"1538204480","expires_in":"2592000","sfz":"1","yhk":"1","yys":"0","txl":"1","allbind":"0"}}
     */

    private int code;
    private String msg;
    private String time;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "LoginBean{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", time='" + time + '\'' +
                ", data=" + data +
                '}';
    }

    public static class DataBean {
        /**
         * userinfo : {"id":"16","username":"15267846314","nickname":"15267846314","mobile":"15267846314","avatar":"/assets/img/qrcode.png","score":"0","token":"e0b5a6a4-d66a-4039-996c-18cfcf2c097b","user_id":"16","createtime":"1535612480","expiretime":"1538204480","expires_in":"2592000","sfz":"1","yhk":"1","yys":"0","txl":"1","allbind":"0"}
         */

        private UserinfoBean userinfo;

        public UserinfoBean getUserinfo() {
            return userinfo;
        }

        public void setUserinfo(UserinfoBean userinfo) {
            this.userinfo = userinfo;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "userinfo=" + userinfo +
                    '}';
        }

        public static class UserinfoBean {
            /**
             * id : 16
             * username : 15267846314
             * nickname : 15267846314
             * mobile : 15267846314
             * avatar : /assets/img/qrcode.png
             * score : 0
             * token : e0b5a6a4-d66a-4039-996c-18cfcf2c097b
             * user_id : 16
             * createtime : 1535612480
             * expiretime : 1538204480
             * expires_in : 2592000
             * sfz : 1
             * yhk : 1
             * yys : 0
             * txl : 1
             * allbind : 0
             *
             */

            private String id;
            private String username;
            private String nickname;
            private String mobile;
            private String avatar;
            private String score;
            private String token;
            private String user_id;
            private String createtime;
            private String expiretime;
            private String expires_in;
            private String sfz;
            private String yhk;
            private String yys;
            private String txl;
            private String htyz;
            private String allbind;
            private String zhuangtai;

            public String getHtyz() {
                return htyz;
            }

            public void setHtyz(String htyz) {
                this.htyz = htyz;
            }

            public String getZhuangtai() {
                return zhuangtai;
            }

            public void setZhuangtai(String zhuangtai) {
                this.zhuangtai = zhuangtai;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getScore() {
                return score;
            }

            public void setScore(String score) {
                this.score = score;
            }

            public String getToken() {
                return token;
            }

            public void setToken(String token) {
                this.token = token;
            }

            public String getUser_id() {
                return user_id;
            }

            public void setUser_id(String user_id) {
                this.user_id = user_id;
            }

            public String getCreatetime() {
                return createtime;
            }

            public void setCreatetime(String createtime) {
                this.createtime = createtime;
            }

            public String getExpiretime() {
                return expiretime;
            }

            public void setExpiretime(String expiretime) {
                this.expiretime = expiretime;
            }

            public String getExpires_in() {
                return expires_in;
            }

            public void setExpires_in(String expires_in) {
                this.expires_in = expires_in;
            }

            public String getSfz() {
                return sfz;
            }

            public void setSfz(String sfz) {
                this.sfz = sfz;
            }

            public String getYhk() {
                return yhk;
            }

            public void setYhk(String yhk) {
                this.yhk = yhk;
            }

            public String getYys() {
                return yys;
            }

            public void setYys(String yys) {
                this.yys = yys;
            }

            public String getTxl() {
                return txl;
            }

            public void setTxl(String txl) {
                this.txl = txl;
            }

            public String getAllbind() {
                return allbind;
            }

            public void setAllbind(String allbind) {
                this.allbind = allbind;
            }



            @Override
            public String toString() {
                return "UserinfoBean{" +
                        "id='" + id + '\'' +
                        ", username='" + username + '\'' +
                        ", nickname='" + nickname + '\'' +
                        ", mobile='" + mobile + '\'' +
                        ", avatar='" + avatar + '\'' +
                        ", score='" + score + '\'' +
                        ", token='" + token + '\'' +
                        ", user_id='" + user_id + '\'' +
                        ", createtime='" + createtime + '\'' +
                        ", expiretime='" + expiretime + '\'' +
                        ", expires_in='" + expires_in + '\'' +
                        ", sfz='" + sfz + '\'' +
                        ", yhk='" + yhk + '\'' +
                        ", yys='" + yys + '\'' +
                        ", txl='" + txl + '\'' +
                        ", allbind='" + allbind + '\'' +
                        ", zhuangtai='" + zhuangtai + '\'' +
                        '}';
            }
        }
    }
}
